#!/bin/bash

BUILD_TAG="1.0"

if [ "$1" != "" ];
    then
    BUILD_TAG="$1"
fi

set -e
docker build -t yourmathteacher/daisyz:$BUILD_TAG .
docker push yourmathteacher/daisyz:$BUILD_TAG
docker rmi yourmathteacher/daisyz:$BUILD_TAG

